package com.lunago.agent.service.impl;

import com.lunago.agent.mapper.TopicMapper;
import com.lunago.agent.pojo.entity.Topic;
import com.lunago.agent.service.TopicService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Slf4j
@Service
public class TopicServiceImpl implements TopicService {
    @Autowired
    private TopicMapper topicMapper;
    @Override
    public List<Topic> selectTopic() {
        return  topicMapper.selectTopic();

    }
}
